SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60534: Incorrect data is returned from queries to SAS/ACCESS® Interface to R3 for CURR data types that use a national language format

DetailsHotfixAboutRate It

SAP R/3 might return incorrect data when queried from either SAS® Enterprise Guide®, SAS® Data Integration Studio, or SAS® ​​​​​​Studio in the following circumstances:

  • The SAS Enterprise Guide project has more than one task that queries SAP R/3, the SAS Data Integration Studio job has more than one transformation that queries SAP R/3, or the SAS Studio job has more than one task that queries SAP R/3.
  • The SAP R/3 data type is CURR.
  • A SAS national language format is applied to a column (for example, NLNUM18.5).
  • The SAP R/3 library is NOT assigned in each task or transformation.

There is no indication of a problem in the logs. However, values returned appear to be 0. When you use the BEST32.30 format to display values, they are displayed as a very small value (for example, 1E-310).

Note: The problem has not been observed in SAS® Foundation or when you run a SAS program in batch mode.

SAS Enterprise Guide and SAS Studio Workaround

To work around the problem when using SAS Enterprise Guide or SAS Studio, do one of the following: 

  • Remove the national language formats from the CURR data type columns.
  • Insert SAP R/3 LIBNAME statements in each task that uses these libraries. This workaround requires copying the task code and creating a program.

SAS Data Integration Studio Workaround

To work around the problem when using SAS Data Integration Studio, do one of the following:

  • Remove the national language format from the CURR data type columns.
  • Insert SAP R/3 LIBNAME statements in the pre-code for each task that uses these libraries.
  • Go to the Code tab of the job and change the Code Generation Mode from Automatic to User Written Body.
  • Deploy the job, and run it in batch mode.
  • Copy the code, and run it from the SAS Data Integration Studio code editor, SAS Enterprise Guide, or SAS Foundation.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to R/3Solaris for x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Linux for x644.4_M44.4_M59.4 TS1M49.4 TS1M5
HP-UX IPF4.4_M44.4_M59.4 TS1M49.4 TS1M5
64-bit Enabled Solaris4.4_M44.4_M59.4 TS1M49.4 TS1M5
64-bit Enabled AIX4.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Ultimate x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Ultimate 32 bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Professional x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Professional 32 bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Home Premium x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Home Premium 32 bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Enterprise x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Windows 7 Enterprise 32 bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2012 Std4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2012 R2 Std4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2012 Datacenter4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2008 for x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 2008 R24.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows Server 20084.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 104.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8.1 Pro x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8.1 Enterprise x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8 Pro x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8 Pro 32-bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8 Enterprise x644.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit4.4_M44.4_M59.4 TS1M49.4 TS1M5
Microsoft® Windows® for x644.4_M44.4_M59.4 TS1M49.4 TS1M5
z/OS4.4_M44.4_M59.4 TS1M49.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.